package com.glory.wxelectricitypda.activity;


import android.annotation.SuppressLint;
import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;

import com.glory.wxelectricitypda.R;
import com.glory.wxelectricitypda.base.BaseDialogActivity;
import com.pda.platform.ui.ui_pdaplatform.entity.FreeUI_AddViewEntity;

import butterknife.BindView;
import butterknife.OnClick;

public class FTChangeBINActivity extends BaseDialogActivity {


    @BindView(R.id.llMain)
    LinearLayout llMain;

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_ftchange_binactivity;
    }

    @Override
    protected void initView() {

        freeUI_titleView.setTitle("正常结束（FT测试）");

    }

    @Override
    protected void initData() {

    }

    @Override
    protected FreeUI_AddViewEntity getBaseEntity() {
        return new FreeUI_AddViewEntity("header", llMain);
    }

    @SuppressLint("NonConstantResourceId")
    @OnClick({R.id.ftGoodProduct, R.id.ftSample, R.id.ftTemporary})
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.ftGoodProduct:
            case R.id.ftSample:
            case R.id.ftTemporary:

                startActivity(new Intent(FTChangeBINActivity.this,FTConfirmActivity.class));
                break;
        }
    }

}